public class Tesk1 {
    public static void main(String[] args) {
        
    }
    public static void main1(String[] args) {

        try{
//            System.out.println(10 / 0);
            int a[] = {1,2,3,4};
            System.out.println(a[100]);
        }catch (ArithmeticException |ArrayIndexOutOfBoundsException e){
            e.printStackTrace();
        }
        System.out.println("中秋节快乐");
    }
}
